package com.ruoyi.common.core.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class WsdCanteensOrderDTO {
    //学校ID
    private Long schoolId;
    //班级id
    private Long gradeId;
    //班级id
    private Long classId;
    //学生姓名
    private String studentName;
    //缴费方式 //2现金
    private Integer rechargeType;
    /**
     * 餐费类型 (0: 早餐, 1: 午餐, 2: 早餐，午餐)
     */
    private Integer mealType;
    //支付金额
    private BigDecimal payAmount;
    @Excel(name = "学生证件号")
    private String identityNumber;
    @Excel(name = "家长手机号")
    private String parentsPhone;

    //日期
    private Long configId; // 配置ID
    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String startDate;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String endDate;

    private LocalDateTime startTime;
    private LocalDateTime endTime;

}
